package edu.sctu.wangfuxin.day20150628.until;


import java.util.List;

/**
 * Created by user06 on 2015/6/28.
 */

/**
 * 价格处理类
 */
public class PriceUtil {

    private int count;

    /**
     * @param list
     */
    public void priceDeth(List<Float> list) {
        for (int i = 0; i < list.size(); i++) {
            if (list.get(i) >= 100) {
                count++;
            }
        }
        System.out.println("价格大于等于100的有：" + count + "个！");
        System.out.println("价格小于100的有：" + (list.size() - count) + "个！");
    }


}
